<html>
<body>
    <p>Target Child</p>
    <script>
        window.parent.frames[1].onclick = function() {
            try {
                alert("document.domain: " + window.document.domain);
            } catch(e) {
            }
        }

        window.location = "http://localhost:8000/security/resources/cross-frame-iframe.html";
    </script> 
</body>
</html>
